import service from "@/utils/request.js"


/**
 * 添加藏馆
 */
export function framecreate(data = {}){
    return service.request({
        url: "/api/v1/framecreate",
        method: "post",
        data
    })
}

/**
 * 列表
 */
export function framelists(data = {}){
    return service.request({
        url: "/api/v1/framelists",
        method: "post",
        data
    })
}

/**
 * 详情
 */
export function framedetailed(data = {}){
    return service.request({
        url: "/api/v1/framedetailed",
        method: "post",
        data
    })
}

/**
 * 修改
 */
export function frameupdate(data = {}){
    return service.request({
        url: "/api/v1/frameupdate",
        method: "post",
        data
    })
}

/**
 * 删除
 */
export function framedelete(data = {}){
    return service.request({
        url: "/api/v1/framedelete",
        method: "post",
        data
    })
}

/**
 * 删除
 */
export function framestatus(data = {}){
    return service.request({
        url: "/api/v1/framestatus",
        method: "post",
        data
    })
}


export function categorycreate(data = {}){
    return service.request({
        url: "/api/v1/categorycreate",
        method: "post",
        data
    })
}
export function categorylists(data = {}){
    return service.request({
        url: "/api/v1/categorylists",
        method: "post",
        data
    })
}
export function categoryupdate(data = {}){
    return service.request({
        url: "/api/v1/categoryupdate",
        method: "post",
        data
    })
}
export function categorystatus(data = {}){
    return service.request({
        url: "/api/v1/categorystatus",
        method: "post",
        data
    })
}
export function categorydelete(data = {}){
    return service.request({
        url: "/api/v1/categorydelete",
        method: "post",
        data
    })
}
export function categoryall(data = {}){
    return service.request({
        url: "/api/v1/categoryall",
        method: "post",
        data
    })
}

export function bookcreate(data = {}){
    return service.request({
        url: "/api/v1/bookcreate",
        method: "post",
        data
    })
}
export function booklists(data = {}){
    return service.request({
        url: "/api/v1/booklists",
        method: "post",
        data
    })
}